package cn.laixueit.mapper;

import cn.laixueit.pojo.Users;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

//@Mapper
public interface UserMapper {
    List<Users> findAll();

    @Select("select * from users where id =${id}")
    Users findById(@Param("id")Integer id);
}
